package com.yungu.swift.lbs.trace.baidu.track;

import com.yungu.swift.lbs.trace.baidu.model.BaseResponse;
import com.yungu.swift.lbs.trace.baidu.model.Entity;

import java.util.List;

/**
 * @description
 * @date 2017/12/12 17:09
 * @version 1.0
 */
public class ListEntityResponse extends BaseResponse {

    private int total;

    private int size;

    private List<Entity> entities;

    public ListEntityResponse(long responseID, int status, String message) {
        super(responseID, status, message);
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public List<Entity> getEntities() {
        return entities;
    }

    public void setEntities(List<Entity> entities) {
        this.entities = entities;
    }

    @Override
    public String toString() {
        return "ListEntityResponse{" +
                "total=" + total +
                ", size=" + size +
                ", entities=" + entities +
                "} " + super.toString();
    }

}
